#ifndef __MSGDLG_H__
#define __MSGDLG_H__

#include "wx/defs.h"
#include "wx/dialog.h"

extern const wxChar wxMessageBoxCaptionStr[];

class wxMessageDialog: public wxDialog, public wxMessageDialogBase {
  public:
    wxMessageDialog( wxWindow *parent, const wxString& message,const wxString& caption = wxMessageBoxCaptionStr,
                     long style = wxOK | wxCENTRE,const wxPoint& pos = wxDefaultPosition );
    virtual ~wxMessageDialog();
    int ShowModal();
    virtual bool Show( bool ( show ) = true ) { return false; };
  protected:
    virtual void DoSetSize( int x, int y,int width, int height,int sizeFlags = wxSIZE_AUTO ) {}
    virtual void DoMoveWindow( int ( x ), int ( y ),int ( width ), int ( height ) ) {}

  private:
    wxString m_caption;
    wxString m_message;
    DECLARE_DYNAMIC_CLASS( wxMessageDialog )
};

#endif
